﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ThanhLapHoiDongXetGiao.ascx.cs" Inherits="QuanLyDeTaiKHCN.UserControls.Manager.ThanhLapHoiDongXetGiao" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="udt1" runat="server">
    <ContentTemplate>
        <div style="width:100%;text-align:center;padding:5px;">
            <asp:Label ID="lblmessage" runat="server" ForeColor="Red"></asp:Label>
        </div>
        <asp:Panel ID="pnthanhlaphoidong" runat="server" Visible="true">
            <input type="hidden" runat="server" id="inputluu" />
            <input type="hidden" runat="server" id="inputloai" />
            <div class="control-group info row-fluid">
                <label class="control-label" style="width: 250px; padding-right: 10px;">Số quyết định thành lập hội đồng</label>
                <div class="controls">
                    <asp:TextBox ID="txtSoQuyetThanhLapHoiDong" runat="server" CssClass="span2" onblur="KiemTraInjection(this);"></asp:TextBox>
                    
                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" FilterType="Numbers" TargetControlID="txtSoQuyetThanhLapHoiDong"></ajaxToolkit:FilteredTextBoxExtender>
                    <span style="color: #3A96C9;">&nbsp;Ngày ra quyết định &nbsp;</span>
                    <asp:TextBox ID="txtNgayRaQuyetDinhThanhLapHoiDong" placeholder="Ngày/tháng/năm" runat="server" CssClass="span2" onblur="KiemTraInjection(this);"></asp:TextBox>
                    <asp:ImageButton runat="Server" ID="ImageButton1" ImageUrl="~/CSS/images/lich.gif" AlternateText="Click để hiển thị ngày tháng năm" />
                    <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtNgayRaQuyetDinhThanhLapHoiDong" PopupButtonID="ImageButton1" Format="dd/MM/yyyy" />
                    <ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender1" MaskType="Date" runat="server" Mask="99/99/9999" TargetControlID="txtNgayRaQuyetDinhThanhLapHoiDong"></ajaxToolkit:MaskedEditExtender>
                    (Quyết định thành lập hội đồng của Sở KHCN)
                </div>
                <div style="height: 30px;"></div>
                <label class="control-label" style="width: 250px; padding-right: 10px;">Căn cứ quyết định số</label>
                <div class="controls">
                    <asp:TextBox ID="txtSoQuyetDinh" CssClass="span1" runat="server"></asp:TextBox>/QĐ-SKHCN
                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" FilterType="Numbers" TargetControlID="txtSoQuyetDinh"></ajaxToolkit:FilteredTextBoxExtender>
                    <asp:RequiredFieldValidator runat="server" ID="yc" ValidationGroup="kiemtra" Display="Dynamic" ControlToValidate="txtSoQuyetDinh" Text="Nhập số quyết định" ForeColor="Red"></asp:RequiredFieldValidator>
                    <span style="color: #3A96C9;">&nbsp;Ngày ra quyết định &nbsp;</span>
                    <asp:TextBox ID="txtNgayRaQuyetDinh" placeholder="Ngày/tháng/năm" runat="server" CssClass="span2" onblur="KiemTraInjection(this);"></asp:TextBox>
                    <asp:ImageButton runat="Server" ID="Image1" ImageUrl="~/CSS/images/lich.gif" AlternateText="Click để hiển thị ngày tháng năm" />
                    <ajaxToolkit:CalendarExtender ID="calendarButtonExtender2" runat="server" TargetControlID="txtNgayRaQuyetDinh" PopupButtonID="Image1" Format="dd/MM/yyyy" />
                    <ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender2" MaskType="Date" runat="server" Mask="99/99/9999" TargetControlID="txtNgayRaQuyetDinh"></ajaxToolkit:MaskedEditExtender>
                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="txtNgayRaQuyetDinh" ValidationGroup="kiemtra" Text="Nhập ngày ra quyết định" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>
                <div style="height: 5px;clear:both;"></div>
                <fieldset class="span11filset" style="padding: 5px;">
                    <legend>Danh sách hội đồng</legend>
                    <label class="control-label" style="padding-right: 10px;">Chọn lĩnh vực</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlLinhVuc" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlLinhVuc_SelectedIndexChanged"></asp:DropDownList>
                    </div>
                    <div style="height:15px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Chủ tịch hội  đồng</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlChuTich" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlChuTich_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtchutich" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Phó chủ tịch hội  đồng</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlPhoChuTich" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlPhoChuTich_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtphochutich" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Phản biện 1</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlPhanBien1" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlPhanBien1_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtphanbien1" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Phản biện 2</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlPhanBien2" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlPhanBien2_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtphanbien2" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Phản biện 3</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlPhanBien3" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlPhanBien3_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtphanbien3" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Ủy viên 1</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlUyVien1" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlUyVien1_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtuyvien1" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Ủy viên 2</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlUyVien2" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlUyVien2_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtuyvien2" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Ủy viên 3</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlUyVien3" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlUyVien3_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtuyvien3" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Ủy viên 4</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlUyVien4" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlUyVien4_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtuyvien4" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Ủy viên 5</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlUyVien5" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlUyVien5_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtuyvien5" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Ủy viên 6</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlUyVien6" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlUyVien6_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtuyvien6" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Ủy viên 7</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlUyVien7" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlUyVien7_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtuyvien7" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Ủy viên 8</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlUyVien8" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlUyVien8_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtuyvien8" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                    <div style="height: 5px;"></div>
                    <label class="control-label" style="padding-right: 10px;">Thư ký hội đồng</label>
                    <div class="controls">
                        <asp:DropDownList ID="drlThuKy" CssClass="span3 height" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drlThuKy_SelectedIndexChanged"></asp:DropDownList>
                        <asp:TextBox ID="txtthuky" CssClass="span9" runat="server"></asp:TextBox>
                    </div>
                </fieldset>
                <div style="clear: both; height: 5px;"></div>
                <div class="controls">
                    <asp:LinkButton ID="btnsave" ValidationGroup="kiemtra" OnClick="btnsave_Click" Width="100" class="btn btn-primary" runat="server"><i class=" icon-save"></i>&nbsp;&nbsp;Lưu</asp:LinkButton>
                    <asp:LinkButton ID="btnexporttoword" OnClick="btnexporttoword_Click" Width="150" class="btn btn-primary" runat="server"><i class=" icon-signout"></i>&nbsp;&nbsp;Xuất file word</asp:LinkButton>
                    <asp:Label ID="lblstatus" runat="server" ForeColor="Red"></asp:Label>
                </div>
            </div>
        </asp:Panel>
    </ContentTemplate>
</asp:UpdatePanel>